home *** CD-ROM | disk | FTP | other *** search
- /* LOCApp.c -- application methods */
- /* Created 10/4/91 10:31 AM by AppMaker */
-
- /* This module overrides the AppMaker-generated code in zLOCApp. */
- /* It provides a place for you to add your own code and still be able to */
- /* generate code for new changes to the user interface. This module will */
- /* not be regenerated by AppMaker unless you delete it. Its superclass, */
- /* zLOCApp, may be regenerated to handle user interface changes */
- /* without losing your hand-coded changes to this module. */
-
- #include <Commands.h>
- #include "ResourceDefs.h"
- #include "LOCApp.h"
- #include "AboutLOCCounter.h"
-
- Cursor waitCursor[6]; // cursors for spinning
-
- void GetCursors ( void );
-
- /*----------*/
- void CLOCApp::SetUpFileParameters ( void )
-
- BEGIN
- inherited::SetUpFileParameters ();
- sfNumTypes = 0;
- GetCursors ();
- END
-
- /*----------*/
- /* load all of our hourglass cursors into the waitCursor[] array */
-
- static void GetCursors(void)
-
- BEGIN
- CursHandle hCurs;
- int i;
-
- for(i=0;i<6;i++)
- {
- hCurs = GetCursor(300+i);
- waitCursor[i] = **hCurs;
- DisposHandle(hCurs);
- }
- END
-
- /*----------*/
- void CLOCApp::DoCommand ( long theCommand )
-
- BEGIN
- switch (theCommand) {
-
- case 256: // About...
- BEGIN
- AboutLOCCounterRec AboutLOCCounter;
- GetAboutLOCCounter ( &AboutLOCCounter );
- END;
- break;
-
- default:
- inherited::DoCommand (theCommand);
- break;
- }
- END
-
-